package com.example.metadatatest.Factories;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.DispatcherServlet;

/**
 * DispatcherServletConfiguration
 *
 * 用于匹配http请求和controller
 *
 * @blame 吴经纶
 */
@Configuration
public class DispatcherServletConfiguration {
    @Bean
    DispatcherServlet dispatcherServlet() {
        return new DispatcherServlet();
    }

}
